// 订单接口
import request from '@/utils/request.js'//引入增强过后的axios
export const orderList= params =>{
    return request({
        method: 'get',
        url: '/order/list',
        params
    });
}

// 订单详情
export const detail= params =>{
    return request({
        method: 'get',
        url: '/order/detail',
        params
    });
}


//修改功能
export const edit=(data)=>{
    return request({
        method:'post',
        url:'/order/edit',
        data
    })
}
